<script setup>
import router from "@/router/index.js";
const goPerson = () => {
    router.push('/person')
}
const goCanteen = () => {
    router.push('/canteen')
}
const  goHostelManage = ()=>{
     router.push('/hostelManage')
}

</script>

<template>
        <div style="width: 100%;height: 100vh;display: flex;justify-content: center;align-items: center">
            这是首页
            <el-button @click="goPerson">人员管理</el-button>

            <el-button @click="goCanteen">食堂管理</el-button>

            <el-button @click="goHostelManage">住宿管理</el-button>

        </div>

</template>

<style scoped>

</style>
